package com.cowin.sys.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "TM_BAS_PLANT")
public class TmBasPlant {
    @Id
    @Column(name = "TM_BAS_PLANT_ID")
    private Long tmBasPlantId;

    @Column(name = "PLANT_NO")
    private String plantNo;

    @Column(name = "SAP_PLANT_NO")
    private String sapPlantNo;

    @Column(name = "PLANT_NAME_C")
    private String plantNameC;

    @Column(name = "PLANT_NAME_E")
    private String plantNameE;

    @Column(name = "PLANT_NAME_C_S")
    private String plantNameCS;

    @Column(name = "PLANT_NAME_E_S")
    private String plantNameES;

    @Column(name = "PLANT_ADDR_C1")
    private String plantAddrC1;

    @Column(name = "PLANT_ADDR_C2")
    private String plantAddrC2;

    @Column(name = "PLANT_ADDR_C3")
    private String plantAddrC3;

    @Column(name = "PLANT_ADDR_E1")
    private String plantAddrE1;

    @Column(name = "PLANT_ADDR_E2")
    private String plantAddrE2;

    @Column(name = "PLANT_ADDR_E3")
    private String plantAddrE3;

    @Column(name = "MARK_FOR_DEL")
    private Short markForDel;

    @Column(name = "LAST_UPDATE_TIME")
    private Date lastUpdateTime;

    @Column(name = "LAST_UPDATE_USERNAME")
    private String lastUpdateUsername;

    @Column(name = "PID")
    private Integer pid;

    @Column(name = "PID_IS_CLOSED")
    private Short pidIsClosed;

    @Column(name = "MARK_STATUS")
    private Short markStatus;

    @Column(name = "TRACKTYPE")
    private Short tracktype;

    @Column(name = "BAS_ROUTE_MODEL_ID")
    private Long basRouteModelId;

    @Column(name = "CHKNO_PRE")
    private String chknoPre;

}